package com.life.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "life.admin")
@Data
public class AdminProperties {
    /**
     * 管理员相关配置
     */
    private String username;
    private String password;
}
